import sys
from . import moduleC
from .packageD import moduleD
from .packageD.packageE import moduleE
from ..packageB import moduleB

a = 10
def showmessage():
    print("This is module A")
    
def displayVariable():
    print(a)
    
def runModuleB(parameters):
    """
    Description
    """
    # Your code here
    moduleB.showMessageV2(parameters)

    
def runModuleC(parameters):
    """
    Description
    """
    # Your code here
    moduleC.showMessage(parameters)

def runModuleD(parameters):
    """
    Description
    """
    # Your code here
    moduleD.showMessage(parameters)
    
    
def runModuleE(parameters):
    """
    Description
    """
    # Your code here
    moduleE.showMessage(parameters)
    

if __name__ == '__main__':
    """此处不能用main函数，因为本模块已经使用了相对导入
    """
    
    print(sys.path)
    print(f'__package__: {__package__}')
    
    # displayVariable()
    # showmessage()
    
    # runModuleB("This is a parameter")
    # runModuleC("This is a parameter")
    # runModuleE("This is a parameter")
    # runModuleD("This is a parameter")
